package com.awcall.iot.service;

import com.awcall.iot.common.ResponseResult;
import com.awcall.iot.model.Role;
import com.awcall.iot.model.RoleAuthority;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 * 角色-权限 关联表 服务类
 * </p>
 *
 * @author wuhui
 * @since 2018-03-05
 */
public interface IRoleAuthorityService extends IService<RoleAuthority> {

    List<RoleAuthority> findByRoleId(Long id);

    ResponseResult updateAuthority(Role role);

}
